package com.iflytek.uoamp.agent.monitor.find.obj;


import java.util.List;
import java.util.Map;

import com.iflytek.uoamp.agent.core.sender.monitorsender.monitorinterface.IItem;
import com.iflytek.uoamp.agent.core.sender.monitorsender.responseObj.ProgramType;

public class ProgramObj implements IItem {

	private String cpname; // required
	private String ip; // required
	private int port; // required
	private String path; // required
	private ProgramType type; // required
	private List<String> flags; // required
	private double trust; // required
	private String mac;
	private String hostroom;

    public Map<String, String> getInfon() {
        return Infon;
    }

    public void setInfon(Map<String, String> infon) {
        Infon = infon;
    }

    private Map<String , String > Infon ;

	
	
	public String getHostroom() {
		return hostroom;
	}

	public void setHostroom(String hostroom) {
		this.hostroom = hostroom;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getCpname() {
		return cpname;
	}

	public void setCpname(String cpname) {
		this.cpname = cpname;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public ProgramType getType() {
		return type;
	}

	public void setType(ProgramType type) {
		this.type = type;
	}

	public List<String> getFlags() {
		return flags;
	}

	public void setFlags(List<String> flags) {
		this.flags = flags;
	}

	public double getTrust() {
		return trust;
	}

	public void setTrust(double trust) {
		this.trust = trust;
	}

	@Override
	public String caseToString() {
		return "";
		//		return JSON.toJSONString(this);
	}

	@Override
	public String getSendPath() {
		return "program";
	}

	@Override
	public String getSendListPath() {
		return "program";
	}

}
